package com.rayo.accesscontrollercopy.model.db.bean;

import com.litesuits.orm.db.annotation.Table;

import java.util.Date;

/**
 * Created by yanghaojie on 16/7/13.
 */
@Table("system_table")
public class SystemData extends BaseModel {
    private String serverIp;

    private String serverPort;

    private int dateFormat;

    private int nameFormat;

    private int lang;

    private int timeDiff;

    private int delay;

    private int timeliness;

    public SystemData() {
        this.serverIp = "";
        this.serverPort = "";
        this.dateFormat = 0;
        this.nameFormat = 0;
        this.timeDiff = 0;
        this.lang = 0;
        this.delay = 8;
        this.timeliness = 0;
        this.editime = new Date();
    }

    public String getServerIp() {
        return serverIp;
    }

    public void setServerIp(String serverIp) {
        this.serverIp = serverIp;
    }

    public String getServerPort() {
        return serverPort;
    }

    public void setServerPort(String serverPort) {
        this.serverPort = serverPort;
    }

    public int getDateFormat() {
        return dateFormat;
    }

    public void setDateFormat(int dateFormat) {
        this.dateFormat = dateFormat;
    }

    public int getNameFormat() {
        return nameFormat;
    }

    public void setNameFormat(int nameFormat) {
        this.nameFormat = nameFormat;
    }

    public int getTimeDiff() {
        return timeDiff;
    }

    public void setTimeDiff(int timeDiff) {
        this.timeDiff = timeDiff;
    }

    public int getLang() {
        return lang;
    }

    public void setLang(int lang) {
        this.lang = lang;
    }

    public int getDelay() {
        return delay;
    }

    public void setDelay(int delay) {
        this.delay = delay;
    }

    public int getTimeliness() {
        return timeliness;
    }

    public void setTimeliness(int timeliness) {
        this.timeliness = timeliness;
    }
}
